#include <iostream>
using namespace std;

class A 
{
public:
    A()
    {
        cout<< "A" <<endl;
    }
    explicit A(int num) : m_num(num)
    {
        cout<< "A int" <<endl;
    }
    ~A()
    {
        cout<< "~A" <<endl;
    }

    int m_num;
};

class B : public A
{
    public:
    B()
    {
        cout << "B" << endl;
    }
    B(int count) : m_count(count)
    {
        cout<<"B_int"<<endl;
    }
    ~B()
    {
        cout << "~B" << endl;
    }
    int m_count;
};

int main()
{
    B b;
    return 0;

}